300 |
How can I change the font for entire item
|
299 |
How do I vertically align a cell
axComboBox1.DrawGridLines = EXCOMBOBOXLib.GridLinesEnum.exRowLines; (axComboBox1.Columns.Add("MultipleLine") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellSingleLine,false); axComboBox1.Columns.Add("VAlign"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("This is a bit of long text that should break the line"); var_Items.set_CellCaption(h,1,"top"); var_Items.set_CellVAlignment(h,1,EXCOMBOBOXLib.VAlignmentEnum.exTop); h = var_Items.AddItem("This is a bit of long text that should break the line"); var_Items.set_CellCaption(h,1,"middle"); var_Items.set_CellVAlignment(h,1,EXCOMBOBOXLib.VAlignmentEnum.exMiddle); h = var_Items.AddItem("This is a bit of long text that should break the line"); var_Items.set_CellCaption(h,1,"bottom"); var_Items.set_CellVAlignment(h,1,EXCOMBOBOXLib.VAlignmentEnum.exBottom); |
298 |
How can I change the position of an item
|
297 |
How do I find an item based on a path
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.set_ItemData(var_Items.InsertItem(h,null,"Child 2"),1234); var_Items.set_ExpandItem(h,true); var_Items.set_ItemBold(var_Items.get_FindPath("Root 1\\Child 1"),true); |
296 |
How do I find an item
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); var_Items.set_ItemBold(var_Items.get_FindItem("Child 2",0,null),true); |
295 |
How can I insert a hyperlink or an anchor element
axComboBox1.Columns.Add("Column"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; var_Items.set_CellCaptionFormat(var_Items.AddItem("Just an <a1>anchor</a> element ..."),0,EXCOMBOBOXLib.CaptionFormatEnum.exHTML); EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items; var_Items1.set_CellCaptionFormat(var_Items1.AddItem("Just another <a2>anchor</a> element ..."),0,EXCOMBOBOXLib.CaptionFormatEnum.exHTML); |
294 |
How do I find the index of the item based on its handle
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); var_Items.set_ItemBold(var_Items[var_Items.get_ItemToIndex(h)],true); |
293 |
How do I find the handle of the item based on its index
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); var_Items.set_ItemBold(var_Items[1],true); |
292 |
How can I find the cell being clicked in a radio group
|
291 |
Can I add a +/- ( expand / collapse ) buttons to each item, so I can load the child items later
|
290 |
Can I let the user to resize at runtime the specified item
axComboBox1.ScrollBySingleLine = true; axComboBox1.DrawGridLines = EXCOMBOBOXLib.GridLinesEnum.exRowLines; axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; var_Items.set_ItemAllowSizing(var_Items.AddItem("resizable item"),true); var_Items.AddItem("not resizable item"); |
289 |
How can I change the size ( width, height ) of the picture
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.set_CellPicture(h,0,(axComboBox1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp)); var_Items.set_CellPictureWidth(h,0,24); var_Items.set_CellPictureHeight(h,0,24); var_Items.set_ItemHeight(h,32); h = var_Items.AddItem("Root 2"); var_Items.set_CellPicture(h,0,(axComboBox1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp)); var_Items.set_ItemHeight(h,48); |
288 |
How do I unselect an item
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); var_Items.set_SelectItem(h,false); |
287 |
How do I find the selected item
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); var_Items.set_SelectItem(h,true); var_Items.set_ItemBold(var_Items.get_SelectedItem(0),true); |
286 |
How do I select an item
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); var_Items.set_SelectItem(h,true); |
285 |
Can I display a button with some picture or icon inside
axComboBox1.set_HTMLPicture("p1","c:\\exontrol\\images\\zipdisk.gif"); axComboBox1.Columns.Add("C1"); axComboBox1.Columns.Add("C2"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Cell 1"); var_Items.set_CellCaption(h,1," Button <img>p1</img> "); var_Items.set_CellCaptionFormat(h,1,EXCOMBOBOXLib.CaptionFormatEnum.exHTML); var_Items.set_CellHAlignment(h,1,EXCOMBOBOXLib.AlignmentEnum.RightAlignment); var_Items.set_CellHasButton(h,1,true); var_Items.set_ItemHeight(h,48); |
284 |
Can I display a button with some picture or icon inside
axComboBox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); axComboBox1.Columns.Add("C1"); axComboBox1.Columns.Add("C2"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Cell 1"); var_Items.set_CellCaption(h,1," Button <img>1</img> "); var_Items.set_CellCaptionFormat(h,1,EXCOMBOBOXLib.CaptionFormatEnum.exHTML); var_Items.set_CellHAlignment(h,1,EXCOMBOBOXLib.AlignmentEnum.RightAlignment); var_Items.set_CellHasButton(h,1,true); |
283 |
Can I display a button with some icon inside
axComboBox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); axComboBox1.Columns.Add("C1"); axComboBox1.Columns.Add("C2"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Cell 1"); var_Items.set_CellCaption(h,1," <img>1</img> "); var_Items.set_CellCaptionFormat(h,1,EXCOMBOBOXLib.CaptionFormatEnum.exHTML); var_Items.set_CellHAlignment(h,1,EXCOMBOBOXLib.AlignmentEnum.RightAlignment); var_Items.set_CellHasButton(h,1,true); |
282 |
How can I assign multiple icon/picture to a cell
axComboBox1.set_HTMLPicture("p1","c:\\exontrol\\images\\zipdisk.gif"); axComboBox1.set_HTMLPicture("p2","c:\\exontrol\\images\\auction.gif"); axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("text <img>p1</img> another picture <img>p2</img> and so on"); var_Items.set_CellCaptionFormat(h,0,EXCOMBOBOXLib.CaptionFormatEnum.exHTML); var_Items.set_CellPicture(h,0,(axComboBox1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)") as stdole.IPictureDisp)); var_Items.set_ItemHeight(h,48); var_Items.AddItem("Root 2"); |
281 |
How can I assign an icon/picture to a cell
|
280 |
How can I assign multiple icons/pictures to a cell
axComboBox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root <img>1</img> 1, <img>2</img>, ... and so on "); var_Items.set_CellCaptionFormat(h,0,EXCOMBOBOXLib.CaptionFormatEnum.exHTML); |
279 |
How can I assign multiple icons/pictures to a cell
axComboBox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.set_CellImages(h,0,"1,2,3"); |
278 |
How can I assign an icon/picture to a cell
axComboBox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.set_CellImage(h,0,1); var_Items.set_CellImage(var_Items.InsertItem(h,null,"Child 1"),0,2); var_Items.set_CellImage(var_Items.InsertItem(h,null,"Child 2"),0,3); var_Items.set_ExpandItem(h,true); |
277 |
How can I get the handle of an item based on the handle of the cell
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); var_Items.set_ItemBold(var_Items.get_CellItem(var_Items.get_ItemCell(h,0)),true); |
276 |
How can I display a button inside the item or cell
axComboBox1.Columns.Add("C1"); axComboBox1.Columns.Add("C2"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Cell 1"); var_Items.set_CellCaption(h,1," Button 1 "); var_Items.set_CellHAlignment(h,1,EXCOMBOBOXLib.AlignmentEnum.RightAlignment); var_Items.set_CellHasButton(h,1,true); h = var_Items.AddItem("Cell 2"); var_Items.set_CellCaption(h,1," Button 2 "); var_Items.set_CellHAlignment(h,1,EXCOMBOBOXLib.AlignmentEnum.CenterAlignment); var_Items.set_CellHasButton(h,1,true); |
275 |
How can I change the state of a radio button
|
274 |
How can I assign a radio button to a cell
axComboBox1.MarkSearchColumn = false; axComboBox1.SelBackColor = Color.FromArgb(255,255,128); axComboBox1.SelForeColor = Color.FromArgb(0,0,0); axComboBox1.Columns.Add("C1"); axComboBox1.Columns.Add("C2"); axComboBox1.Columns.Add("C3"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Cell 1"); var_Items.set_CellCaption(h,1,"Radio 1"); var_Items.set_CellHasRadioButton(h,1,true); var_Items.set_CellRadioGroup(h,1,1234); var_Items.set_CellCaption(h,2,"Radio 2"); var_Items.set_CellHasRadioButton(h,2,true); var_Items.set_CellRadioGroup(h,2,1234); var_Items.set_CellState(h,1,1); |
273 |
How can I change the state of a checkbox
|
272 |
How can I assign a checkbox to a cell
|
271 |
How can I display an item or a cell on multiple lines
axComboBox1.ScrollBySingleLine = true; axComboBox1.Columns.Add("C1"); axComboBox1.Columns.Add("C2"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Cell 1"); var_Items.set_CellCaption(h,1,"This is bit of text that's shown on multiple lines"); var_Items.set_CellSingleLine(h,1,EXCOMBOBOXLib.CellSingleLineEnum.exCaptionWordWrap); |
270 |
How can I assign a tooltip to a cell
|
269 |
How can I associate an extra data to a cell
|
268 |
How do I enable or disable a cell
|
267 |
How do I change the cell's foreground color
|
266 |
How do I change the visual effect for the cell, using your EBN files
|
265 |
How do I change the cell's background color
|
264 |
How do I change the caption or value for a particular cell
|
263 |
How do I get the handle of the cell
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); var_Items.set_CellBold(null,var_Items.get_ItemCell(h,0),true); |
262 |
How do I retrieve the focused item
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); var_Items.set_ItemBold(var_Items.FocusItem,true); |
261 |
How do I get the number or count of child items
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); var_Items.AddItem(var_Items.get_ChildCount(h)); |
260 |
How do I enumerate the visible items
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); h = var_Items.AddItem("Root 2"); var_Items.set_ItemBold(var_Items.FirstVisibleItem,true); var_Items.set_ItemBold(var_Items.get_NextVisibleItem(var_Items.FirstVisibleItem),true); |
259 |
How do I enumerate the siblings items
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); h = var_Items.AddItem("Root 2"); var_Items.set_ItemBold(var_Items.get_NextSiblingItem(var_Items.FirstVisibleItem),true); var_Items.set_ItemBold(var_Items.get_PrevSiblingItem(var_Items.get_NextSiblingItem(var_Items.FirstVisibleItem)),true); |
258 |
How do I get the parent item
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); var_Items.set_ItemBold(var_Items.get_ItemParent(var_Items.get_ItemChild(h)),true); |
257 |
How do I get the first child item
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); var_Items.set_ItemBold(var_Items.get_ItemChild(h),true); |
256 |
How do I enumerate the root items
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); h = var_Items.AddItem("Root 2"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ItemBold(var_Items.get_RootItem(0),true); var_Items.set_ItemUnderline(var_Items.get_RootItem(1),true); |
255 |
I have a hierarchy, how can I count the number of root items
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); h = var_Items.AddItem("Root 2"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.AddItem(var_Items.RootCount); |
254 |
How can I make an item unselectable, or not selectable
|
253 |
How can I hide or show an item
axComboBox1.Columns.Add("Column"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("hidden"); var_Items.set_ItemHeight(h,0); var_Items.set_SelectableItem(h,false); var_Items.AddItem("visible"); |
252 |
How can I change the height for all items
|
251 |
How do I change the height of an item
axComboBox1.ScrollBySingleLine = true; axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; var_Items.set_ItemHeight(var_Items.AddItem("height"),128); axComboBox1.Items.AddItem("enabled"); |
250 |
How do I disable or enable an item
|
249 |
How do I display as strikeout a cell
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; var_Items.set_CellStrikeOut(var_Items.AddItem("strikeout"),0,true); |
248 |
How do I display as strikeout a cell or an item
|
247 |
How do I display as strikeout an item
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; var_Items.set_ItemStrikeOut(var_Items.AddItem("strikeout"),true); |
246 |
How do I underline a cell
|
245 |
How do I underline a cell or an item
|
244 |
How do I underline an item
|
243 |
How do I display as italic a cell
|
242 |
How do I display as italic a cell or an item
|
241 |
How do I display as italic an item
|
240 |
How do I bold a cell
|
239 |
How do I bold a cell or an item
|
238 |
How do I bold an item
|
237 |
How do I change the foreground color for the item
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root"); int hC = var_Items.InsertItem(h,null,"Child 1"); var_Items.set_ItemForeColor(hC,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0))); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); |
236 |
How do I change the visual appearance for the item, using your EBN technology
axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root"); int hC = var_Items.InsertItem(h,null,"Child 1"); var_Items.set_ItemBackColor(hC,0x1000000); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); |
235 |
How do I change the background color for the item
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root"); int hC = var_Items.InsertItem(h,null,"Child 1"); var_Items.set_ItemBackColor(hC,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0))); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); |
234 |
How do I expand or collapse an item
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); |
233 |
How do I associate an extra data to an item
|
232 |
How do I get the number or count of items
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items; var_Items1.AddItem(var_Items1.ItemCount); |
231 |
How can I change at runtime the parent of the item
|
230 |
How can I sort the items
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); axComboBox1.Columns["Default"].SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortDescending; |
229 |
How do I sort the child items
axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Root"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); var_Items.SortChildren(h,0,false); |
228 |
How can I remove or delete all items
|
227 |
How can I remove or delete an item
|
226 |
How can I add or insert child items
axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot; axComboBox1.Columns.Add("C1"); axComboBox1.Columns.Add("C2"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; int h = var_Items.AddItem("Cell 1"); var_Items.set_CellCaption(h,1,"Cell 2"); var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Cell 3"),1,"Cell 4"); var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Cell 5"),1,"Cell 6"); var_Items.set_ExpandItem(h,true); |
225 |
How can I add or insert a child item
axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot; axComboBox1.Columns.Add("Default"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; var_Items.InsertItem(var_Items.AddItem("root"),null,"child"); |
224 |
How can I add or insert an item
axComboBox1.Columns.Add("C1"); axComboBox1.Columns.Add("C2"); EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; var_Items.set_CellCaption(var_Items.AddItem("Cell 1"),1,"Cell 2"); int h = var_Items.AddItem("Cell 3"); var_Items.set_CellCaption(h,1,"Cell 4"); |
223 |
How can I add or insert an item
|
222 |
How can I get the columns as they are shown in the control's sortbar
|
221 |
How can I access the properties of a column
axComboBox1.Columns.Add("A"); axComboBox1.Columns["A"].HeaderBold = true; |
220 |
How can I remove all the columns
|
219 |
How can I remove a column
|
218 |
How can I get the number or the count of columns
|
217 |
How can I change the font for all cells in the entire column
stdole.IFontDisp f = new stdole.StdFont() as stdole.IFontDisp; f.Name = "Tahoma"; f.Size = 12; EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = axComboBox1.ConditionalFormats.Add("1",null); var_ConditionalFormat.Font = (f as stdole.IFontDisp); var_ConditionalFormat.ApplyTo = EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns; axComboBox1.Columns.Add("Column"); axComboBox1.Items.AddItem(0); axComboBox1.Items.AddItem(1); |
216 |
How can I change the background color for all cells in the column
EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = axComboBox1.ConditionalFormats.Add("1",null); var_ConditionalFormat.BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); var_ConditionalFormat.ApplyTo = EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns; axComboBox1.Columns.Add("Column"); axComboBox1.Items.AddItem(0); axComboBox1.Items.AddItem(1); |
215 |
How can I change the foreground color for all cells in the column
EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = axComboBox1.ConditionalFormats.Add("1",null); var_ConditionalFormat.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); var_ConditionalFormat.ApplyTo = EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns; axComboBox1.Columns.Add("Column"); axComboBox1.Items.AddItem(0); axComboBox1.Items.AddItem(1); |
214 |
How can I show as strikeout all cells in the column
|
213 |
How can I underline all cells in the column
EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = axComboBox1.ConditionalFormats.Add("1",null); var_ConditionalFormat.Underline = true; var_ConditionalFormat.ApplyTo = EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns; axComboBox1.Columns.Add("Column"); axComboBox1.Items.AddItem(0); axComboBox1.Items.AddItem(1); |
212 |
How can I show in italic all data in the column
EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = axComboBox1.ConditionalFormats.Add("1",null); var_ConditionalFormat.Italic = true; var_ConditionalFormat.ApplyTo = EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns; axComboBox1.Columns.Add("Column"); axComboBox1.Items.AddItem(0); axComboBox1.Items.AddItem(1); |
211 |
How can I bold the entire column
EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = axComboBox1.ConditionalFormats.Add("1",null); var_ConditionalFormat.Bold = true; var_ConditionalFormat.ApplyTo = EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns; axComboBox1.Columns.Add("Column"); axComboBox1.Items.AddItem(0); axComboBox1.Items.AddItem(1); |
210 |
How can I display a computed column and highlight some values that are negative or less than a value
axComboBox1.Columns.Add("A"); axComboBox1.Columns.Add("B"); (axComboBox1.Columns.Add("(A+B)*1.19") as EXCOMBOBOXLib.Column).ComputedField = "(%0 + %1) * 1.19"; EXCOMBOBOXLib.Items var_Items = axComboBox1.Items; var_Items.set_CellCaption(var_Items.AddItem(1),1,2); EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items; var_Items1.set_CellCaption(var_Items1.AddItem(10),1,20); EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = axComboBox1.ConditionalFormats.Add("%2 > 10",null); var_ConditionalFormat.Bold = true; var_ConditionalFormat.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); var_ConditionalFormat.ApplyTo = (EXCOMBOBOXLib.FormatApplyToEnum)0x2; |
209 |
Can I display a computed column so it displays the VAT, or SUM
|
208 |
How can I show a column that adds values in the cells
|
207 |
Is there any function to filter the control's data as I type, so the items being displayed include the typed characters
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Filter") as EXCOMBOBOXLib.Column); var_Column.FilterOnType = true; var_Column.DisplayFilterButton = true; var_Column.AutoSearch = EXCOMBOBOXLib.AutoSearchEnum.exContains; axComboBox1.Items.AddItem("Canada"); axComboBox1.Items.AddItem("USA"); |
206 |
Is there any function to filter the control's data as I type, something like filter on type
|
205 |
How can I programmatically filter a column
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Filter") as EXCOMBOBOXLib.Column); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exNonBlanks; axComboBox1.Items.AddItem(null); axComboBox1.Items.AddItem("not empty"); axComboBox1.ApplyFilter(); |
204 |
How can I show or display the control's filter
|
203 |
How can I customize the items being displayed in the drop down filter window
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Custom Filter") as EXCOMBOBOXLib.Column); var_Column.DisplayFilterButton = true; var_Column.DisplayFilterPattern = false; var_Column.CustomFilter = "Excel Spreadsheets (*.xls )||*.xls|||Word Documents||*.doc|||Powerpoint Presentations||*.pps|||Text Documents (*.log,*.txt)||*." + "txt|*.log"; var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exPattern; var_Column.Filter = "*.xls"; axComboBox1.Items.AddItem("excel.xls"); axComboBox1.Items.AddItem("word.doc"); axComboBox1.Items.AddItem("pp.pps"); axComboBox1.Items.AddItem("text.txt"); axComboBox1.ApplyFilter(); |
202 |
How can I change the order or the position of the columns in the sort bar
axComboBox1.SortBarVisible = true; axComboBox1.SortBarColumnWidth = 48; (axComboBox1.Columns.Add("C1") as EXCOMBOBOXLib.Column).SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortAscending; (axComboBox1.Columns.Add("C2") as EXCOMBOBOXLib.Column).SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortDescending; axComboBox1.Columns["C2"].SortPosition = 0; |
201 |
How do I arrange my columns on multiple levels
(axComboBox1.Columns.Add("S") as EXCOMBOBOXLib.Column).Width = 32; (axComboBox1.Columns.Add("Level 2") as EXCOMBOBOXLib.Column).LevelKey = 1; (axComboBox1.Columns.Add("Level 3") as EXCOMBOBOXLib.Column).LevelKey = 1; (axComboBox1.Columns.Add("Level 4") as EXCOMBOBOXLib.Column).LevelKey = 1; (axComboBox1.Columns.Add("Level 1") as EXCOMBOBOXLib.Column).LevelKey = "2"; (axComboBox1.Columns.Add("Level 2") as EXCOMBOBOXLib.Column).LevelKey = "2"; (axComboBox1.Columns.Add("Level 3") as EXCOMBOBOXLib.Column).LevelKey = "2"; (axComboBox1.Columns.Add("Level 4") as EXCOMBOBOXLib.Column).LevelKey = "2"; (axComboBox1.Columns.Add("E") as EXCOMBOBOXLib.Column).Width = 32; |